package com.ruoyi.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务监控
 *
 * @author xudm
 */
@RestController()
@RequestMapping("/actuator")
public class HealthCheckController {

    @GetMapping("/health")
    public String health() {
        return "UP";
    }

}
